package com.xique.door.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xique.door.bean.domain.WxMessageTemplate;
import com.xique.door.bean.search.WxMessageTemplateListSearch;
import org.apache.ibatis.annotations.Param;

/**
 * @author shd
 * @create 2022/4/26 17:08
 */
public interface WxMessageTemplateMapper extends BaseMapper<WxMessageTemplate> {

    /**
     * 获取模板列表(分页)
     * @author shd
     * @date 2022/4/27 14:21
     * @param page
     * @param search
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.xique.door.bean.domain.WxMessageTemplate>
     */
    IPage<WxMessageTemplate> selectTemplatePage(@Param("page") IPage<WxMessageTemplate> page, @Param("search") WxMessageTemplateListSearch search);
}
